package com.ruoyi.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.pojo.Postbar;
import com.ruoyi.service.PostbarService;
import com.ruoyi.mapper.PostbarMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author xlz
* @description 针对表【postbar】的数据库操作Service实现
* @createDate 2023-08-02 16:02:35
*/
@Service
public class PostbarServiceImpl extends ServiceImpl<PostbarMapper, Postbar>
    implements PostbarService{

    @Autowired
    private PostbarMapper postbarMapper;

    @Override
    public int add(Postbar postbar) {
        return postbarMapper.insert(postbar);
    }
}




